package com.alnex.mongo.entity;


import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@Document(collection = "test01")
public class Test implements Serializable {
    private static final long serialVersionUID = 1L;
    private String _id;
    private String title;
    private String description;
    private String by;
    private String url;
    private List<String> tags;
    private String likes;
}
